package com.gxa.modules.payment.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("收费项目管理")
@AllArgsConstructor
@NoArgsConstructor
public class PayItem {
    @ApiModelProperty("id 添加时可随意填写，修改时必须是对应的编号")
    private Integer id;
//    @JsonProperty(value = "item")
    @ApiModelProperty("收费项目")
    private String service;
    @ApiModelProperty("收费方式")
    private String method;
    @ApiModelProperty("收费仪表 ?")
    private String meterName;

    @ApiModelProperty("单价")
    private double price;
    @ApiModelProperty("计量单位")
    private String unit;
    @JsonProperty(value = "accuracy")
    @ApiModelProperty("计算精度")
    private String accuracy;

    @ApiModelProperty("状态")
    private Integer payStatus;
    @ApiModelProperty("滞纳金比例")
    private Integer lateFee;
    @ApiModelProperty("计算公式")
    private String formula;
    @ApiModelProperty("备注 ?")
    private String remarks;
}
